package com.bop.dehong.config;

/**
 * 所有常量
 * @author TangWenhan/YeFengyun
 */
public class Config {
	public static final String[] token_key = {"t9h9t13LQ2zlyr7","NJb7SGbpY7Z4","JsML43qFj8Ru","KMLqa54BEiSD","H8PveZ6F2n5K","3r150UNjb7SG","Fl2ITYqHZO4p","HB8q3K3n9m8S","OBE2stZ64Au2","H2n7OcX47EQ8"};
	public static final String[] IPs = {"https://www.dhibank.com", "http://101.201.211.214:801"};
	public static String IP = IPs[0];
	public static String getIP() {
		return IP;
	}
	
	public static String Base = "/Api/";
	public static final String TAG = "tag";// 日志打印
	public static final String isNoFirstIn = "isNoFirstIn";
	public static final String IS_LOGIN = "is_login";// 是否已经登录
	public static final String USERNAME = "username";// 用户名
	public static final String PASSWORD = "password";// 密码
	public static final String RESET_PSW = "reset_psw";//重置手势密码
	public static final Long TIMT_PSW = 600L;//手势密码间隔时间
	public static final String IS_REMEMBER = "remember";// 记住密码
	public static final String SESSION_ID = "session_id";
	public static final String CAT_SUB = "cat_sub";// 子分类
	public static final String CAT_ID = "cat_id";// cat_id
	public static final String CAT_NAME = "cat_name";
	public static final String ADV = "adv";
	public static final String GOODS_ID = "goods_id";// goods_id
	public static final String USER_ID = "user_id";// user_id
	public static final String GOODS_NAME = "goods_name";// goods_id
	public static final String PARTNERS = "partners";// partners合作伙伴
	public static final String INDEX = "index";// 底部选择
	public static final String ORDER_ID = "order_id";
	public static final String ORDER_SN = "order_sn";
	public static final String PHOTO = "photo";
	public static final String PHONE = "phone";
	public static final String CBK_ID = "cbk_id";
	public static final String UID = "UID";// 是否第三方登录
	public static final String Platform = "Platform";// 是否第三方登录
	public static final String NickName = "NickName";// 是否第三方登录
	public static final String WEIBOID = "weiboId";
	public static final String TOKEN = "token";
	public static final String GO_BACK = "goBack";
	public static String GOBID = "";
	public static final String GESTURE_PWD = "gesture_pwd";
	//Intent 传递的参数
	public static final String GESTURE_ACTION = "action";
	// 数据库
	public static final String DATABASE_NAME = "search.db";// 数据库名称
	public static final String SEARCH_TABLE_NAME = "search",HISTORY_TABLE_NAME = "history",DRAFT_TABLE_NAME = "draft";// 表名
	public static final String SEARCH_TABLE_ID = "_id";// _id
	public static final String SEARCH_TABLE_ITEM = "item";// 查询的条目
	public static final String SEARCH_KEYWORDS = "keywords";// 查询关键字
	public static final String TITLE = "title";
	public static final String CONSIGNEE = "consignee";
	public static final String ADDRESS = "address";
	public static final String ADDRESS_ID = "address_id";
	public static final String AVATAR = "avatar";
	public static final String CITY = "city";
	public static final String CODE = "code";
	public static final String COLLECTION = "collection";// 是否收藏
	//tangWenhan 新增
	public static final String rechager = Base + "User/injectadd";// 充值
	public static final String nameAuth = Base + "User/certupda";//实名认证
	public static final String judgeIdCard = Base + "Public/idcard";//判断身份证号码是否已注册
	public static final String bandBankCard = Base + "User/bankcard";//绑定银行卡
	public static final String getUserInfo = Base + "User/index";//获取用户信息
	public static final String getTradingRecordInfo = Base + "User/fundlist";//获取用户交易记录
	public static final String getChargeRecordInfo = Base + "User/injectrecord";//获取用户充值记录
	public static final String getWithdrawRecordInfo = Base + "User/drawrecord";//获取用户提现记录
	public static final String getLoadList = Base + "User/borrow";//我的借款
	public static final String getBidList = Base + "User/invest";//我的投资
	public static final String updateHead4Photo = Base + "User/photoupload";//头像上传，拍照
	public static final String updateHead4Gallery = Base + "User/portrait";//头像上传，系统图库
	public static final String getSystemHead = Base + "User/thumbs";//获取系统头像
	public static final String updateNickname = Base + "User/nickname";//更改头像
	public static final String updatePwd = Base + "User/updapass";//更改登录密码
	public static final String deleCard = Base + "User/delcard";//删除银行卡
	public static final String huodong = Base + "User/huodong";//获取活动列表
	public static final String drawcalc = Base + "User/drawcalc";//提现申请
	public static final String drawupda = Base + "User/drawupda";//提现申请
	public static final String getTiyanjinBid = Base + "Invest/investupdate";//提现申请
	//H5界面
	public static final String zhongchou = "/Touch/App/dzc/";//众筹
	public static final String security = "/Touch/App/security/";//安全保障
	public static final String bindcard = "/Touch/App/bindcard/";//绑定银行卡
	public static final String dehongcion = "/Touch/App/xsl/";//新手礼
	public static final String yhxsxy = "/Touch/App/yhxsxy/";//用户隐私协议
	public static final String hyfwxy = "/Touch/App/hyfwxy/";//德鸿金融会员服务协议
	
	public static final String URL_HuifuSucc = "/huifusucc/";//汇付接口成功回调
	public static final String URL_HuifuFail = "/huifufail/";//汇付接口失败回调
	
	public static final String URL_HuifuSucc4AddCard = "/addCard";//汇付绑定银行卡接口成功回调
	public static final int POINT_STATE_NORMAL = 0; // 正常状态
	public static final int POINT_STATE_SELECTED = 1; // 按下状态
	public static final int POINT_STATE_WRONG = 2; // 错误状态
	//分享
	public static final String SHARE_URL = "https://www.dhibank.com/App";
	public static final String SHARE_IMG = "https://www.dhibank.com/static/app/images/share_logo.png";
	public static final String SHARE_TITLE = "德鸿金融_德金融，德未来！";
	public static final String SHARE_CONTENT = "新手专享10000元体验金奖励，德鸿金融安全透明的理财平台！快来和我一起躺着赚钱吧！";
	
	/******* 版本更新 ******/
	public static final String getUpdateUrl() {
		return Base + "Index/version/";
	}

	/******* 引导页 ******/
	public static final String getGuideUrl() {
		return Base + "Index/toturial/";
	}
	
	/******* 登录 ******/
	public static final String getLoginUrl() {
		return Base + "Passport/loging/";
	}

	/******* 注册效验码 ******/
	public static final String getPhoneCodeRes() {
		return Base + "Public/rmobile/";
	}
	
	/******* 忘记效验码 ******/
	public static final String getPhoneCodeFgt() {
		return Base + "Public/fmobile/";
	}
	
	/******* 注册 ******/
	public static final String getRegisterUrl() {
		return Base + "Passport/addreg/";
	}

	/******* 修改密码 ******/
	public static final String getChangePasswordUrl(String session_id) {
		return Base + "m=User&a=act_edit_password&session_id=" + session_id;
	}

	/******* 忘记密码   ******/
	public static final String getForgotUrl() {
		return Base + "Passport/rpassword/";
	}

	/******* 重置密码 *****/
	public static final String getResetPasswordUrl() {
		return Base + "Passport/rsPassword/";
	}

	/****** 首页 ******/
	public static final String getHomeUrl() {
		return Base + "Index/index/";
	}

	/****** 德财富列表 ******/
	public static final String getCategory() {
		return Base + "Invest/index/";
	}
	
	/****** 投标信息 ******/
	public static final String getToubiao() {
		return Base + "Invest/detail5/";
	}
	
	/****** 投标收益 ******/
	public static final String getToubiaoShouyi() {
		return Base + "Invest/profit/";
	}
	
	/****** 投标记录 ******/
	public static final String getToubiaoRecord() {
		return Base + "Invest/detail4/";
	}
	
	/****** 我的银行卡列表 ******/
	public static final String getMyBankCardList() {
		return Base + "User/banklist/";
	}
	
	/****** 我的身份 ******/
	public static final String getMyIdentity() {
		return Base + "Passport/identity/";
	}
	
	/****** 我的身份保存 ******/
	public static final String getMyIdentitySave() {
		return Base + "Passport/identityUpda/";
	}
	
	/****** 投标信息详情 ******/
	public static final String getToubiaoInfo() {
		return Base + "Invest/detail/";
	}
	
	/****** 项目介绍 ******/
	public static final String getToubiaoProuctInfo() {
		return Base + "Invest/detail2/";
	}
	
	/****** 风控审核 ******/
	public static final String getToubiaoAudit() {
		return Base + "Invest/detail3/";
	}
	
	/****** 投标 ******/
	public static final String getBid() {
		return Base + "Invest/investupdate/";
	}

	/****** 反馈 ******/
	public static final String getFeedback() {
		return Base + "User/feedback/";
	}
	
	/****** 合作伙伴和联系人 ******/
	public static final String getMoreUrl() {
		return Base + "m=Home&a=partner";
	}

	/************ 个人中心 *************/
	public static final String getPersonalCenterUrl(String session_id) {
		return Base + "m=User&a=profile_center&session_id=" + session_id;
	}


	/************ 修改个人信息 *************/
	public static final String getUpdateImageUrl(String session_id) {
		return Base + "m=User&a=updateuserinfo&session_id=" + session_id;
	}

	/************ 上传头像 *************/
	public static final String getUpLoadAvatarUrl(String session_id) {
		return Base + "m=User&a=updateAvatar&session_id=" + session_id;
	}
}
